#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct SHEARStrainData
{
    SG::DataStructure::Common::Id   m_eId      = 0;    /// Element identification number
    SG::DataStructure::Common::Real m_TMAX     = 0.0;  /// Maximum Shear
    SG::DataStructure::Common::Real m_TAVG     = 0.0;  /// Average Shear
    SG::DataStructure::Common::Real m_MS       = 0.0;  /// Margin of Safety
    SG::DataStructure::Common::Id   m_domainId = 0;    /// Domain identifier
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const SHEARStrainData& val1, const SHEARStrainData& val2);

///< @brief 排序使用
DECLSPEC bool operator< (const SHEARStrainData& a, const SHEARStrainData& b);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
